Update
Update a Document and optionally, its content. Note there are two components to a document: its metadata and its content. Metadata is represented by the argument payload. The content must have been previously uploaded to the server.
document
updateDocument(
beeId
handle
,
documentUpdater
updater
,
updateMode
snapshotid
, projection projection
)
Parameters
- handle
-
Type:
beeId
Handle to the document to be updated
- updater
-
Type:
documentUpdater
to specify the non-streamed attributes of the document to be created
- snapshotid
-
Type:
updateMode
determine if the entity should always be updated or if optimistic locking should be used.
- projection
-
Type:
Projection